ComponentOne Bitmap for WPF
Create(Factory,FontFaceType,FontFile[],Int32,FontSimulations) Method

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > FontFace Class > Create Method : Create(Factory,FontFaceType,FontFile[],Int32,FontSimulations) Method
A reference to a DirectWrite factory Factory
A value that indicates the type of file format of the font face.
A font file object representing the font face. BecauseC1.Win.DX.DirectWrite.FontFace maintains its own references to the input font file objects, you may release them after this call.
The zero-based index of a font face, in cases when the font files contain a collection of font faces. If the font files contain a single face, this value should be zero.
A value that indicates which, if any, font face simulation flags for algorithmic means of making text bold or italic are applied to the current font face.
Creates an object that represents a font face.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal factory As Factory, _
   ByVal fontFaceType As FontFaceType, _
   ByVal fontFiles() As FontFile, _
   ByVal faceIndex As System.Integer, _
   ByVal fontFaceSimulationFlags As FontSimulations _
) As FontFace
public static FontFace Create( 
   Factory factory,
   FontFaceType fontFaceType,
   FontFile[] fontFiles,
   System.int faceIndex,
   FontSimulations fontFaceSimulationFlags
)

Parameters

factory
A reference to a DirectWrite factory Factory
fontFaceType
A value that indicates the type of file format of the font face.
fontFiles
A font file object representing the font face. BecauseC1.Win.DX.DirectWrite.FontFace maintains its own references to the input font file objects, you may release them after this call.
faceIndex
The zero-based index of a font face, in cases when the font files contain a collection of font faces. If the font files contain a single face, this value should be zero.
fontFaceSimulationFlags
A value that indicates which, if any, font face simulation flags for algorithmic means of making text bold or italic are applied to the current font face.
See Also

Reference

FontFace Class
FontFace Members
Overload List